//
//  AudioListTableViewCell.m
//  GC_OC
//
//  Created by  Quan He on 2022/4/17.
//

#import "AudioListTableViewCell.h"
@interface AudioListTableViewCell()

@end

@implementation AudioListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.zPosition = 100;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.isSelected = selected;
}

- (void)setIsSelected:(BOOL)isSelected {
    _isSelected = isSelected;
    self.contentView.backgroundColor = [UIColor whiteColor];

    if (self.isSelected) {
//        self.contentView.backgroundColor = [UIColor colorWithRed:0.98 green:0.98 blue:0.98 alpha:1.00];
        self.nameLabel.textColor = [UIColor colorWithRed:0.30 green:0.65 blue:0.97 alpha:1.00];
    }else {
        self.nameLabel.textColor = [UIColor blackColor];
//        self.contentView.backgroundColor = [UIColor whiteColor];
    }
}

@end
